package com.guigu.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class SPay implements Serializable {
    private Integer id;

    private String payId;

    private String storer;

    private String reason;

    private String reasonexact;

    private Integer amountSum;

    private Integer costPriceSum;

    private Integer paidAmountSum;

    private String remark;

    private String register;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date registerTime;

    private String checker;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date checkTime;

    private String checkTag;

    private String attemper;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date attemperTime;

    private String storeTag;

}